package com.example.common.util;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * 一些常用变量
 *
 * @author zjarlin
 * @since 2023/03/02
 */
public interface Vars {

    String ip = IpUtil.getLocalIp();
    String datePrefix = LocalDate.now().format(DateTimeFormatter.ISO_DATE);
    String timePrefix = LocalDateTime.now().format(DateTimeFormatter.ofPattern("HH_mm_ss_SSS_"));
    String timeSuffix = LocalDateTime.now().format(DateTimeFormatter.ofPattern("_HH_mm_ss_SSS"));

}
